// components/persons/persons.js
Component({

  /**
   * 组件的属性列表
   */
  properties: {

  },

  /**
   * 组件的初始数据
   */
  data: {
    list: [
      { img: "/image/咖啡机.png", title: '咖啡机咖啡机1', price: '￥200/月', deposit: '￥200', num: '1', state: '待付款',gune:"22期"},
      { img: "/image/咖啡机.png", title: '咖啡机咖啡机1', price: '￥200/月', deposit: '￥200', num: '1', state: '待付款',gune:"22期"},
      { img: "/image/咖啡机.png", title: '咖啡机咖啡机1', price: '￥200/月', deposit: '￥200', num: '1', state: '待付款',gune:"22期"},
      { img: "/image/咖啡机.png", title: '咖啡机咖啡机1', price: '￥200/月', deposit: '￥200', num: '1', state: '待付款',gune:"22期"},
      { img: "/image/咖啡机.png", title: '咖啡机咖啡机1', price: '￥200/月', deposit: '￥200', num: '1', state: '待付款',gune:"22期"}
    ]
  },

  /**
   * 组件的方法列表
   */
  methods: {
    gotoDetail(){
      wx.navigateTo({
        url: '/pages/detail/detail',
      })
    }
  }
})